<template>
    <div class="item-box">
        <div class="img-box">
            <img src="@/assets/image/test-1.png" alt="">
        </div>
        <div class="item-title">菁商会介绍</div>
    </div>
</template>

<script setup lang="ts">

</script>

<style lang="scss" scoped>
    .item-box {
        width: 377px;
        height: 280px;
        border-bottom: 1px solid rgba(227,227,227,1);
        cursor: pointer;
        .img-box {
            overflow: hidden;
            width: 100%;
            height: 210px;
            img {
                width: 100%;
                height: 100%;
                transition: all 0.5s; 
                transform: scale(1);
            }
            img:hover {
                transform: scale(1.2);
            }
        }
        .item-title {
            width: 147px;
            height: 43px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.4);
            font-size: 16px;
            background-color: #D70E18;
            color: #fff;
            border-radius: 0px 0px 6px 6px;
            margin: -4px auto 0;
        }
    }
</style>